<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <title>轮播台自动化节目表单（专辑）</title>
    <script charset="utf-8" type="text/javascript" src="js/init3.js?v=2014122229711"></script>
    <script src="js/jquery.ui.autocomplete.js" type="text/javascript"></script>
    <script src="js/jquery.qui.autocomplete.js" type="text/javascript"></script>
    <script src="js/jquery.qui.suggest.js" type="text/javascript"></script>
    <style>
        .norecords {
            border-width: 2px !important;
            display: none;
            font-weight: bold;
            left: 45%;
            margin: 5px;
            padding: 6px;
            position: absolute;
            text-align: center;
            top: 45%;
            width: auto;
            z-index: 102;
        }
        td em {
            border-left: 2px solid #7BBA00;
            height: 36px;
            margin-top: -10px;
            position: absolute;
            left: 0
        }

        .suggestDiv .ui-suggest .ui-autocomplete {
            width: 631px !important;
        }
    </style>
</head>
<body>
<header></header>
<div class="wrapper wrapper-video">
    <nav>
        <ul class="breadcrumb">
            <li>轮播台自动化节目表单（专辑）</li>
        </ul>
    </nav>
    <div id="carouselAutoRuleView">
        <div class="form-horizontal form-container form-inline" style="width: 1200px;">
            <div class="container">
                <div class="row">
                    <div class="span6 suggestDiv">
                        <label class="control-label">自动化类型：</label>
                        <select name="frontSuggestType" style="width:70px;">
                            <!--<option value="simple-video">节目</option>-->
                            <option value="album">专辑</option>
                            <!--<option value="playlist">播单</option>-->
                        </select>
                        <input data-qui-widget="suggest" type="text" name="_album" id="appendFront_album"
                               placeholder="输入专辑名">
                        <input data-qui-widget="suggest" type="text" name="_playlist" id="appendFront_playlist" style="display: none"
                               placeholder="输入播单名">
                    </div>
                    <div class="span3">
                        <label class="control-label">设定总数量：</label> <input class="input-small" type="text" name="totalNum" readonly>
                    </div>
                    <div class="span3">
                        <label class="control-label">实际总数量：</label> <input class="input-small" type="text" name="actualNum" readonly>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button class="btn" name="addRule">添加轮询专辑</button>
                        <em style="color: #808080"> 第一次创建只生成10天节目单，后面由系统按规则自动添加</em>
                    </div>
                </div>
            </div>

            <!--<div id="autoRule" style="width: 800px;overflow-x: scroll">-->
        </div>
        <div class="container">
            <div class="control-group">
                <div class="controls">
                    <button class="btn btn-orange btn-large" name="btn_rule_start" style="display: none"  disabled>生成节目单</button>
                    <button class="btn btn-orange btn-large" name="btn_rule_stop" style="display: none"  disabled>停止及修改规则</button>
                </div>
            </div>
        </div>
        <div id="autoRule">
            <table id="ruleList">
                <tr>
                    <td></td>
                </tr>
            </table>
            <div id="pagerAutoRule"></div>
        </div>
    </div>
</div>
<div id="loadLegoMessage" style="display: none">
    <div>正在加载节目奇谱数据</div>
    <div>正在检验数据</div>
</div>
<div id="notifyCopyRightDlg">
</div>
</body>

<script type="text/javascript">
require(['epg2'], function () {
    Carousel.Action.automationRuleRun();
})
</script>
</html>